export default [
  {
    path: '/infoData/delivery',
    name: 'InfoDataDelivery',
    meta: {
      hidden: false,
      title: '电商四级地址配送表',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/delivery/index')
  },
  {
    path: '/infoData/orderGoods',
    name: 'InfoDataGoods',
    props: true,
    meta: {
      hidden: false,
      title: '电商订单查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/orderGoods/index')
  },
  {
    path: '/infoData/orderGoods/detail',
    name: 'GoodsDetail',
    props: true,
    meta: {
      hidden: false,
      title: 'B2C电商订单详情',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/orderGoods/compoment/index')
  },
  {
    path: '/infoData/orderGoods/ecoDetail',
    name: 'ECOGoodsDetail',
    props: true,
    meta: {
      hidden: false,
      title: 'ECO电商订单详情',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/orderGoods/ecoDetail/index')
  },
  {
    path: '/infoData/supplement',
    name: 'InfoDataSupplement',
    props: true,
    meta: {
      hidden: false,
      title: '补件申请单查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/supplement/index')
  },
  {
    path: '/infoData/logistics',
    name: 'InfoDataLogistics',
    meta: {
      hidden: false,
      title: '物流进度查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/logistics/index')
  },
  {
    path: '/infoData/shopRetail',
    name: 'InfoDataShopRetail',
    props: true,
    meta: {
      hidden: false,
      title: '门店零售订单查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/shopRetail/index')
  },
  {
    path: '/infoData/shopRetail/detail',
    name: 'ShopRetailDetail',
    props: true,
    meta: {
      hidden: false,
      title: '门店零售订单详情',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/shopRetail/compoment/index')
  },
  {
    path: '/infoData/shopRetail/top2RetailDetail',
    name: 'Top2RetailDetail',
    props: route => {
      return {
        retailOrderCode: route.query.retailOrderCode,
        disCode: route.query.disCode
      }
    },
    meta: {
      hidden: false,
      title: 'Top2零售订单详情',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/shopRetail/compoment/Top2RetailDetail')
  },
  {
    path: '/infoData/agency',
    name: 'InfoDataAgency',
    meta: {
      hidden: false,
      title: '办事处信息查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/agency/index')
  },
  {
    path: '/infoData/dealer',
    name: 'InfoDataDealer',
    meta: {
      hidden: false,
      title: '经销商查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/dealer/index')
  },
  {
    path: '/infoData/shop',
    name: 'InfoDataShop',
    props: true,
    meta: {
      hidden: false,
      title: '门店查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/shop/index')
  },
  {
    path: '/infoData/proInfo',
    name: 'InfoDataProInfo',
    props: true,
    meta: {
      hidden: false,
      title: '产品信息查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/proInfo/index')
  },
  {
    path: '/infoData/shopFiles',
    name: 'InfoDataShopFiles',
    props: true,
    meta: {
      hidden: false,
      title: '门店职员档案查询',
      icon: 'caidan-tubiaoku'
    },
    component: () => import('@/views/infoData/shopFiles/index')
  }
]
